import request from '@/utils/request'

// 查询archivesComment列表
export function listarchivesComment(query,data) {
return request({
url: '/api/v1/cms/archivesCommentList',
method: 'post',
params: query,
data: data
})
}

// 查询archivesComment详细
export function getarchivesComment (commentId) {
return request({
url: '/api/v1/cms/archivesComment/' + commentId,
method: 'get'
})
}


// 新增archivesComment
export function addarchivesComment(data) {
return request({
url: '/api/v1/cms/archivesComment',
method: 'post',
data: data
})
}

// 修改archivesComment
export function updatearchivesComment(data) {
return request({
url: '/api/v1/cms/archivesComment',
method: 'put',
data: data
})
}

// 删除archivesComment
export function delarchivesComment(commentId) {
return request({
url: '/api/v1/cms/archivesComment/' + commentId,
method: 'delete'
})
}